$OpenBSD: patch-mozilla_storage_mozStorageConnection_cpp,v 1.2 2016/12/28 09:14:19 landry Exp $
force the use of secure_delete instead of using internal sqlite copy
--- mozilla/storage/mozStorageConnection.cpp.orig	Wed Oct  5 09:31:01 2016
+++ mozilla/storage/mozStorageConnection.cpp	Tue Nov  1 10:32:14 2016
@@ -733,6 +733,13 @@ Connection::initializeInternal()
     return convertResultCode(srv);
   }
 
+  srv = ::sqlite3_exec(mDBConn, "PRAGMA secure_delete = ON", NULL, NULL, NULL);
+  if (srv != SQLITE_OK) {
+    ::sqlite3_close(mDBConn);
+    mDBConn = nullptr;
+    return convertResultCode(srv);
+  }
+
   // Set the synchronous PRAGMA, according to the preference.
   switch (Service::getSynchronousPref()) {
     case 2:
